<?php


namespace App\Http\Controllers\android\model;


use Illuminate\Support\Facades\DB;

class TopicModel
{
    public static function queryLikeGet($where,$field){
        return DB::table('t_topic')->where("$where[field]",'like','%'.$where["$where[field]"].'%')->get($field);
    }
}